
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link th:href="@{/static/zui/css/zui.css}" href="/static/zui/css/zui.css" rel="stylesheet">
    <link th:href="@{/static/my/my.css}" href="/static/my/my.css" rel="stylesheet">
</head>
<body>
<div class="empty-split"></div>

<div class="container login-container">
    错误信息：<h4 style="color: red;" th:text="${msg}"></h4>
    <form th:action="@{/login}" method="post">

        <label for="id_username" class="sr-only">账号</label>
        <input type="text" id="id_username" name="username" class="form-control" placeholder="账号" required autofocus>

        <div class="empty-split"></div>

        <label for="id_password" class="sr-only">密码</label>
        <input type="password" id="id_password" name="password" class="form-control" placeholder="密码" required>

        <div class="empty-split"></div>

        <button class="btn btn-lg btn-primary btn-block" type="submit">登录</button>
    </form>

</div>

<!-- jQuery (ZUI中的Javascript组件依赖于jQuery) -->
<script th:src="@{/static/jq/jquery1.11.0.min.js}" src="/static/jq/jquery1.11.0.min.js"></script>
<!-- ZUI Javascript组件 -->
<script th:src="@{/static/zui/js/zui.js}" src="/static/zui/js/zui.js"></script>
</body>
</html>